package com.mycode.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.mycode.domain.Payment;
import com.mycode.domain.ResponseResult;

/**
 * Created by Zengsh123 on 2020/3/16.
 */
public class CustomerBlockHandler {
    public static ResponseResult handlerException(BlockException exception) {
        return new ResponseResult(4444, "按客户自定义,global handlerException", new Payment(2020L, "serial0003"));
    }
    public static ResponseResult handlerException2(BlockException exception) {
        return new ResponseResult(4444, "按客户自定义2,global handlerException", new Payment(2020L, "serial0003"));
    }
}
